package com.lb.service.impel;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.lb.entity.Order;
import com.lb.entity.OrderVO1;
import com.lb.mapper.OrderMapper;
import com.lb.service.OrderService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class OrderServiceimpel extends ServiceImpl<OrderMapper, Order> implements OrderService {
    @Autowired
    private OrderMapper orderMapper;
    @Override
    public List<OrderVO1> get(String username) {
       List<OrderVO1> result= orderMapper.get(username);
return result;
    }
}
